<template>
  <div class="nation">
    <el-checkbox-group v-model="model.medicalBillList">
      <el-checkbox label="1">城镇职工基本医疗保险</el-checkbox>
      <el-checkbox label="2">城镇居民基本医疗保险</el-checkbox>
      <el-checkbox label="3">新型农村合作医疗</el-checkbox>
      <el-checkbox label="4">贫困救助</el-checkbox>
      <el-checkbox label="5">商业医疗保险</el-checkbox>
      <el-checkbox label="6">全公费</el-checkbox>
      <el-checkbox label="7">全自费</el-checkbox>
      <el-checkbox label="99">其他</el-checkbox>
      <el-input v-model="model.medicalBillValue" style="width:120px" />
    </el-checkbox-group>
  </div>
</template>

<script>
export default {
  props: {
    model: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {}
  },
  methods: {
    handlerCheckBox(value) {
      if (this.model.medicalBillList.length > 1) {
        this.model.medicalBillList.splice(0, 1)
      }
      // console.log(this.model.medicalBillList)
    }
  }
}
</script>
<style lang="scss" scoped>
.nation {
  // display: flex;
  .el-input {
    margin-left: 15px;
  }
}
</style>
